//
//  Config.m
//  HappyonlineUser
//
//  Created by admin on 2017/3/23.
//  Copyright © 2017年 肖世恒. All rights reserved.
//

#define LOGIN   @"LOGIN"


@implementation Config

+ (void)updateLogin:(BOOL)isLogin{
    
    
    [[NSUserDefaults standardUserDefaults] setBool:isLogin forKey:LOGIN];
    
}


+ (BOOL)fetchLogin{
    
    return [[NSUserDefaults standardUserDefaults] boolForKey:LOGIN];
    
}


@end
